﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TestApi.aspx.cs" Inherits="SVTTranslateTextEngine.TestWeb.TestApi" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <h2>Test the API function "Translate", without BreakSentence</h2>
    <p><a href="Default.aspx"> Back to test funcation list page</a></p>
    <div>
        <asp:TextBox ID="txtSrc" runat="server" Height="240px" Rows="16" 
            TextMode="MultiLine" Width="480px">SchoolConnects' highly flexible interactive response capabilities enable you to invite immediate responses to your telephone messages and conduct comprehensive surveys. Questions can be structured intelligently based on participant responses. Participants need not be asked questions that are irrelevant or inappropriate for them based on previous responses. This reduces the time to finish a survey and results in a higher completion rate. Responses can be accepted through the telephone keypad input or a voice message. Keypad input can be easily tabulated or exported for statistical analysis. User-friendly tools are available to help you retrieve voice messages left by survey participants and transcribe them for reporting. 
</asp:TextBox>
        <br />
        <br />
        <asp:Button ID="btnTranslate" runat="server" Text="Translate" 
            onclick="btnTranslate_Click" />
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:DropDownList ID="ddlFrom" runat="server" Enabled="False">
        <asp:ListItem Value="" Selected="True">自动检测</asp:ListItem>
        <asp:ListItem Value="zh-CN">中文(简体)</asp:ListItem>
            <asp:ListItem Value="zh-TW">中文(繁体)</asp:ListItem>
            <asp:ListItem Value="en">English</asp:ListItem>
            <asp:ListItem Value="fr">Finnish</asp:ListItem>
            <asp:ListItem Value="vi">Vietnamese</asp:ListItem>
            <asp:ListItem Value="es">Spanish</asp:ListItem>
        </asp:DropDownList>
&nbsp; =&gt;&nbsp;
        <asp:DropDownList ID="ddlTo" runat="server">
            <asp:ListItem Value="zh-CN">中文(简体)</asp:ListItem>
            <asp:ListItem Value="zh-TW" Selected="True">中文(繁体)</asp:ListItem>
            <asp:ListItem Value="en">English</asp:ListItem>
            <asp:ListItem Value="fr">Finnish</asp:ListItem>
            <asp:ListItem Value="vi">Vietnamese</asp:ListItem>
            <asp:ListItem Value="es">Spanish</asp:ListItem>
        </asp:DropDownList>
        <br />
        <br />
        <asp:TextBox ID="txtTrg" runat="server" Height="240px"  Rows="16" TextMode="MultiLine" 
            Width="480px"></asp:TextBox>
        <p><asp:Label ID="lblMsg" runat="server" Font-Bold="True" ForeColor="#006666"></asp:Label></p>
    </div>
    </form>
</body>
</html>
